package cn.iocoder.yudao.module.scrm.controller.admin.customer.vo.customerrepository;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 客户库规则分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CustomerRepositoryRulePageReqVO extends PageParam {

    @Schema(description = "关联的客户库id", example = "3774")
    private Integer customerRepositoryId;

    @Schema(description = "使用部门id范围")
    private String deptIds;

    @Schema(description = "使用部门下的人员id范围(保留字段)")
    private String userIds;

    @Schema(description = "规则名称(保留字段)", example = "张三")
    private String ruleName;

    @Schema(description = "显示类型0部门  1人员(保留字段)", example = "1")
    private String type;

    @Schema(description = "私库容量", example = "14822")
    private Integer customerCount;

    @Schema(description = "允许锁定客户数")
    private Integer customerCountLock;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}